import service from "../utils/request"
/*
登陆的接口
* */
export function GetLogin(data) {
  return service.request({
    method: "post",
    url: "/login/loginUser",
    data
  });
}

/*

获取验证码的接口
* */
export function GetVertifyCode(params) {
  return service.request({
    method: "get",
    url: "/login/getVertifyCode",
    params
  });
}
/*

注册的接口
* */
export function RegisterUse(data) {
  return service.request({
    method: "post",
    url: "/login/register",
    data
  });
}

/*
注销登录
* */
export function signOut(data) {
  return service.request({
    method: "get",
    url: "/login/loginOut",
    data
  });
}
